package com.fowo.api.syncLingxingApi.service;


import com.alibaba.fastjson.JSONObject;
import com.fowo.api.entity.Product;
import com.fowo.api.syncLingxingApi.entity.TmpSyncLingxingToProduct;

import java.util.List;

public interface SyncProductListService {
    void mainLoop(JSONObject object);

    JSONObject pullLingxingData(Integer offset,
                                Integer length,
                                int updateTimeStart,
                                int updateTimeEnd,
                                int createTimeStart,
                                int createTimeEnd,
                                List<String> skus);
    List<Product> searchOldData(List<String> skus);

    List<TmpSyncLingxingToProduct> compareNewOrOldData(List<TmpSyncLingxingToProduct> newObject, List<Product> oldObject);



}
